//
//  SysViewObject.m
//  easyTaxi
//
//  Created by ellenpage on 13-1-31.
//  Copyright (c) 2013年 ellenpage. All rights reserved.
//

#import "SysViewObject.h"
#import "PassValueClass.h"

@implementation SysViewObject

static SysViewObject *sharedSysViewObjectClass = nil;

+ (SysViewObject *)sharedIntance
{
    @synchronized(self)
    {
        if (sharedSysViewObjectClass == nil)
        {
            sharedSysViewObjectClass = [[SysViewObject alloc] init];
        }
    }
    return  sharedSysViewObjectClass;
}

- (id)init
{
    if (self = [super init])
    {
        self.sysView = [[SystemInfoView alloc] init];        
    }
    return self;
}

- (void)reloadData
{
    _sysView.dataArray = [PassValueClass sharedIntance].politCityArray;
    [_sysView.mTBView reloadData];
}

@end
